<!DOCTYPE html>
<html lang="zh-CN">
<head>
	<meta charset="UTF-8">
	<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
	<title><?php echo wp_get_document_title(); ?></title>
	<meta name="description" content="<?php bzg_seo_description(); ?>">
	<link rel="profile" href="http://gmpg.org/xfn/11">
	<?php wp_head(); ?>
</head>

<body <?php body_class(); ?>>

<header id="branding" role="banner">
	<nav class="navbar navbar-expand-lg navbar-light bg-light">
		<a class="navbar-brand" href="<?php echo home_url('/'); ?>">
			<?php if(has_site_icon()) : ?>
				<img src="<?php site_icon_url(32); ?>" alt="<?php bloginfo('name'); ?>">
			<?php endif; ?>
			<?php bloginfo('name'); ?>
		</a>
		<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
			<span class="navbar-toggler-icon"></span>
		</button>

		<div class="collapse navbar-collapse" id="navbarSupportedContent">
			<ul class="navbar-nav mr-auto">
			<?php
				wp_nav_menu( array(
					'depth' => 2,
					'container' => false,
					'items_wrap' => '%3$s',
					'theme_location' => 'primary_nav',
					'fallback_cb' => 'bzg_categories_nav',
				));
			?>
			</ul>
			<?php get_search_form(true); ?>
		</div>
	</nav>
</header>

<div id="wrapper">